<template>
  <div>
    <ul>
      <MyItem v-for="todoObj in todos" 
          :key="todoObj.id" 
          :todo="todoObj" 
          :todos="todos">
          <template v-slot:slot01>
            <h1>我是具名插槽slot01</h1>
          </template>
          <template v-slot:slot02>
            <h1>我是具名插槽slot02</h1>
          </template>
      </MyItem> 

          
      
      
    </ul>
  </div>
</template>

<script>
import MyItem from './MyItem.vue'
export default {
  name: "MyList",
  data() {
    return {
      
    };
  },
  props:['todos'],
  components:{MyItem},

  mounted() {},

  methods: {},
};
</script>

<style>
</style>